<?php

namespace Mkd\Core\Foundation\Controller;

use Mkd\Request\Request;
use Mkd\Container\InjectionContainer;
use Mkd\Core\Foundation\Traits\Template;
use Mkd\Core\Foundation\Traits\Request as TraitRequest;
use Mkd\Core\Foundation\Traits\Container as TraitController;

class Controller
{
	use Template;
	use TraitRequest;
	use TraitController;

	public function __construct()
	{
		$this->request = Request::request();
		$this->container = InjectionContainer::instance();
	}

	protected function get($key)
	{
		return $this->getContainer()->get($key);
	}
}

?>
